﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CX.Essential.Domain.溯源管理.企业信息
{
    /// <summary>
    /// 企业信息
    /// </summary>
    public class EnterpriseModel
    {
        /// <summary>
        /// 企业信息
        /// </summary>
        [Key]
        public int Enid { get; set; }
        /// <summary>
        /// 养殖场（公司名称）
        /// </summary>
        public string? EnName { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        public string? EnPeople { get; set; }
        /// <summary>
        /// 存栏数量（只）
        /// </summary>
        public int EnHerdsNum { get; set; }
        /// <summary>
        /// 公司地址-省 
        /// </summary>
        public int provinceid { get; set; }
        /// <summary>
        /// 公司地址-市
        /// </summary>
        public int cityid { get; set; }
        /// <summary>
        /// 公司地址-县
        /// </summary>
        public int countyid { get; set; }
        /// <summary>
        /// 成立时间
        /// </summary>
        public DateTime EnSetUpTime { get; set; } = DateTime.Now;
        /// <summary>
        /// 生产许可证号
        /// </summary>
        public string? EnLicense { get; set; }
        /// <summary>
        /// 公司简介
        /// </summary>
        public string? EnProfile { get; set; }
        /// <summary>
        /// 企业照片
        /// </summary>
        public string? EnImg { get; set; }

    }
}
